package com.liao.ticket.vo;

import lombok.Data;

@Data
public class PassengerVo {
    private Long id;

    private String name;

    private String phone;

    private String idcard;

    public void setIdcard(String idcard) {
        int len = idcard.length();
        this.idcard = idcard.substring(0,4)+"****************"+idcard.substring(len-4,len);
    }
}
